<script>
    $("#detail_close").click(function(){              
        $("#order_detail").hide(200);
        $("#bgDiv").hide(300);
    })
</script>
<h3 id="comments-title">       <em>已发货订单详情</em>       </h3>
<div class="comment-form">
    <table align="center" class=""  width="40%">
        <tr>		
            <td class="right">订单日期：</td>
            <td class="left"><?php echo $main['orderTime']; ?></td>
            <td class="right">订单号：</td>
            <td class="left"><?php echo $main['orderNumber']; ?></td>
        </tr>
    </table>
    <table>
        <tr>
            <th>日期</th>
            <th>订单号</th>
            <th>商品编号</th>
            <th style="width:155px">图片</th>
            <th>销售链接</th>
            <th>颜色尺码</th>
            <th>数量</th>
            <th>单价</th>
            <th>金额</th>
            <th>运费</th>
            <th>总额</th>
            <th>客户信息</th>
            <th>收款方式</th>
            <th>入账日期</th>
        </tr>
        <?php foreach ($detail as $k => $v): ?>
            <tr>
                <td><?php echo $v['orderTime']; ?></td>
                <td><?php echo $v['orderNumber']; ?></td>
                <td><?php echo $v['commodityNumber']; ?></td>
                <td><?php echo $v['imagePath']; ?></td>
                <td><?php echo $v['link']; ?></td>	
                <td><?php echo $v['colorAndSize']; ?></td>	
                <td><?php echo $v['amount']; ?></td>	
                <td><?php echo $v['unitPrice']; ?></td>	
                <td><?php echo $v['price']; ?></td>	
                <td><?php echo $v['freight']; ?></td>	
                <td><?php echo $v['total']; ?></td>
                <td><?php echo $v['clientInfo']; ?></td>	
                <td><?php echo $v['paymentMethod']; ?></td>	
                <td><?php echo $v['cashEntryTime']; ?></td>	
            </tr>	
        <?php endforeach; ?>
    </table>
</div>
<p style="text-align: center">
    <input type="button" id ="detail_close" style="width:100px;padding:0 20px;" value="关闭" />
</p>
<div class="clear"></div>